<%--
  Created by IntelliJ IDEA.
  User: 毛勇琪大帅哥
  Date: 2017/11/22
  Time: 10:47
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" %>
<html>
<head>
    <script src="${pageContext.request.contextPath}/js/jquery-1.11.3.min.js" type="text/javascript"></script>
    <title>Title</title>
</head>
<body>
<p>你好漂亮</p>
<p class="sdsd">你不漂亮</p>
<p class="eqrteqr">我说的你信不？</p>

<tr>
    <td id = "1">asdsadsa</td>
</tr>
<tr>
    <td id="2">撒大声地</td>
</tr>
</body>

<script>
    $("p[class = 'sdsd']").remove();
    $("#2").parent().remove();
</script>
</html>
